#pragma once
#include "VC_GameState.h"
#include "C_SpaceShip.h"
#include "C_GUI_ShipEditor.h"

class C_GS_ShipEditor :
	public VC_GameState
{
private:
	C_SpaceShip m_ship;
	C_GUI_ShipEditor m_guiEditor;
	C_BitShip* m_overBit;
	C_BitShip* m_selectedBit;
public:
	C_GS_ShipEditor();
	virtual ~C_GS_ShipEditor();

	virtual void handleEvent(sf::Event e);
	virtual void render();
	virtual void update();


	void addBitShip(C_BitShip* ship);
	void updateBitShip();
	void cmd_moreWallSize();
	void cmd_lessWallSize();
	void cmd_moreBindAmt();
	void cmd_lessBindAmt();
	void cmd_addBit();
	void cmd_deleteBit();
};

